package cn.edu.bs.web.vo;

/**
 * @author bs
 */
public class BookVO implements BaseVO {

    private Integer bookId;

    private Integer typeId;

    private String bookname;

    private String author;

    private Double prize;

    private String image;

    private Integer count;

    private TypeVO typeVO;

    public Integer getBookId() {
        return bookId;
    }

    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public String getBookname() {
        return bookname;
    }

    public void setBookname(String bookname) {
        this.bookname = bookname;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public Double getPrize() {
        return prize;
    }

    public void setPrize(Double prize) {
        this.prize = prize;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public TypeVO getTypeVO() {
        return typeVO;
    }

    public void setTypeVO(TypeVO typeVO) {
        this.typeVO = typeVO;
    }

    @Override
    public String toString() {
        return "BookVO{" +
                "bookId=" + bookId +
                ", typeId=" + typeId +
                ", bookname='" + bookname + '\'' +
                ", author='" + author + '\'' +
                ", prize=" + prize +
                ", image='" + image + '\'' +
                ", count=" + count +
                ", typeVO=" + typeVO +
                '}';
    }
}
